When using the meson build system, gvc will be built as a subproject.
As meson restricts submodules to a subprojects/ directory in the
source tree root, move the submodule there.
https://bugzilla.gnome.org/show_bug.cgi?id=783229
-[submodule "src/gvc"]
- path = src/gvc
- url = git://git.gnome.org/libgnome-volume-control
[submodule "data/theme/gnome-shell-sass"]
path = data/theme/gnome-shell-sass
url = git://git.gnome.org/gnome-shell-sass
+[submodule "subprojects/gvc"]
+ path = subprojects/gvc
+ url = git://git.gnome.org/libgnome-volume-control
# Point to our macro directory and pick up user flags from the environment
ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
-SUBDIRS = data js src tests po docs
+SUBDIRS = data js subprojects/gvc src tests po docs
if BUILD_BROWSER_PLUGIN
SUBDIRS += browser-plugin
}
# Fetch submodules if needed
-if test ! -f src/gvc/Makefile.am || test ! -f data/theme/gnome-shell-sass/COPYING;
+if test ! -f subprojects/gvc/Makefile.am || test ! -f data/theme/gnome-shell-sass/COPYING;
then
echo "+ Setting up submodules"
git submodule init
docs/reference/st/st-docs.sgml
js/Makefile
src/Makefile
- src/gvc/Makefile
+ subprojects/gvc/Makefile
browser-plugin/Makefile
tests/Makefile
po/Makefile.in
js/ui/windowManager.js
js/ui/windowMenu.js
src/calendar-server/evolution-calendar.desktop.in
-# Please do not remove this file from POTFILES.in. Run "git submodule init && git submodule update" to get it.
-src/gvc/gvc-mixer-control.c
src/main.c
src/shell-app.c
src/shell-app-system.c
src/shell-keyring-prompt.c
src/shell-polkit-authentication-agent.c
src/shell-util.c
+# Please do not remove this file from POTFILES.in. Run "git submodule init && git submodule update" to get it.
+subprojects/gvc/gvc-mixer-control.c
noinst_PROGRAMS =
service_in_files =
-SUBDIRS = gvc
-
-include $(INTROSPECTION_MAKEFILE)
INTROSPECTION_GIRS =
INTROSPECTION_SCANNER_ARGS = --warn-all --warn-error --add-include-path=$(srcdir) --add-include-path=$(MUTTER_GIR_DIR) -L$(MUTTER_TYPELIB_DIR)
rm -f $(@F).tmp
EXTRA_DIST += shell-enum-types.c.in
+gvcdir = $(top_builddir)/subprojects/gvc
+
libgnome_shell_ldflags = -avoid-version
libgnome_shell_libadd = \
-lm \
libgnome-shell-menu.la \
libst-1.0.la \
libtray.la \
- gvc/libgvc.la \
+ $(gvcdir)/libgvc.la \
$(NULL)
libgnome_shell_menu_la_LDFLAGS = $(libgnome_shell_ldflags)
+++ /dev/null
-Subproject commit ce8e4880ce31e275c40825c4ed756c791107f810
--- /dev/null
+Subproject commit ce8e4880ce31e275c40825c4ed756c791107f810
srcdir=@srcdir@
srcdir=`cd $srcdir && pwd`
-GI_TYPELIB_PATH="$GI_TYPELIB_PATH${GI_TYPELIB_PATH:+:}@MUTTER_TYPELIB_DIR@:$builddir/../src:$builddir/../src/gvc"
+GI_TYPELIB_PATH="$GI_TYPELIB_PATH${GI_TYPELIB_PATH:+:}@MUTTER_TYPELIB_DIR@:$builddir/../src:$builddir/../subprojects/gvc"
GJS_PATH="$srcdir:$srcdir/../js:$builddir/../js"
GJS_DEBUG_OUTPUT=stderr
$verbose || GJS_DEBUG_TOPICS="JS ERROR;JS LOG"